<?php
$pageTitle ='eTAT| Survey';

if(isset($_POST['download'])){
    include ('survey/ref/download.php');
}

require_once 'library/Controller.php';
require_once 'Header.php';
require_once 'survey/admin/functions.php';
require_once 'survey/admin/manage.php';




$base =& $_SERVER['PHP_SELF'];
if(isset($_REQUEST['ref'])) {
    $ref = $_REQUEST['ref'];

}else
    $ref ='interface';
if(empty($_REQUEST['ref'])){
    $ref = 'interface' ;
}

if(isset ($_REQUEST['ref'])&& isset($_REQUEST['sid'])){
    $ref = $_REQUEST['ref'];
}

include('survey/ref/'.$ref.'.php');

require_once 'Footer.php';
?>